<template> 
	<view class="container">
		<view>&nbsp;</view>
		<rich-text :nodes="tip" class="tip"></rich-text>
	</view>
</template>

<script> 
export default {
	data() {
		return {
			url:getApp().globalData.url, 
			token:getApp().globalData.token, 
			type:0,
			user_id:0,
			tip:'',
		} 
	},
	onShow(){   
	},
	onLoad(options) {
		this.type = options!=undefined&&options.hasOwnProperty('type')?options.type:''; 
		this.user_id = options!=undefined&&options.hasOwnProperty('user_id')?options.user_id:'';
		let showMsg = options!=undefined&&options.hasOwnProperty('message')?options.message:'';
		 
		//会员冻结
		if(this.type==1){
			this.tip = '系统检测会员ID: '+this.user_id+'，数据异常被禁封';
		}
		//会员ip异常
		else if(this.type==11){
			this.tip = '系统检测会员ID: '+this.user_id+'，登录IP异常';
		}
		//区域IP禁用
		else if(this.type==400){
			this.tip = showMsg ? showMsg:'系统检测当前地区未开启运营';
		}
		//平台暂停
		else if(this.type==404){
			//this.tip = '平台优化升级中，暂停服务，预计一周内完成';
			this.tip = '平台正在维护中，预计明天上线';
		}
	},
	methods: {
		 
	},
};
</script>
 
<style lang="scss">
	rich-text{
		text-align: center;
		line-height: 100upx;
		font-weight: bold;
		color:red;
	}
</style>
